package com.ewanghuiju.app.base.contract.my;

import com.ewanghuiju.app.base.BasePresenter;
import com.ewanghuiju.app.base.BaseView;
import com.ewanghuiju.app.model.bean.response.PintuanShopListResponBean;
import com.ewanghuiju.app.model.bean.response.RuleBean;
import com.ewanghuiju.app.model.bean.response.UserInfoResponBean;
import com.ewanghuiju.app.model.bean.response.ZfbInfoBean;

import java.util.List;

/**
 * @author sj  qq:751943509
 * @class describe
 * @time 2020/2/18
 */
public interface WalletCashContract {

    interface View extends BaseView {

        void showContent(List<PintuanShopListResponBean> list);

        //支付宝信息
        void showAlipayinfo(ZfbInfoBean zfbInfoBean);

        void showAlipayinfoFail();

        void withdrawSuccess();

        void showContentError();

        void showPtiguize(RuleBean bean);
    }

    interface Presenter extends BasePresenter<View> {
        //获取支付宝信息
        void getAlipayinfo();
        //获取温馨提示
        void getPtiguize(String type);

        void withdraw(String price, String type, String realname, String alipay, String password);

        void earningsWithdraw(String price, String type, String realname, String alipay, String password);
    }
}